$OpenBSD: patch-gb,v 1.2 2007/02/27 11:15:25 espie Exp $
--- gb.orig	Sun Nov 26 23:19:18 2006
+++ gb	Wed Feb  7 03:30:24 2007
@@ -12,6 +12,7 @@
 #
 #-----------------------------------------------------------
 
+PATH=.:$PATH
 #Setup Package Name and Version
 . gb.version
 
@@ -65,7 +66,7 @@ INSTALL=${INSTALL:-install}
 #Get the settings
 . "$CONFIG_FILE"
 
-function print_help() {
+function print_help {
 	SHOWHELP=1
 	echo "Options:"
 	echo " "
@@ -179,6 +180,8 @@ done
 #fi
 
 
+printenv >conf.mk
+exit 0
 # Did we already build?
 ${MAKE} -q -f gb.make
 if [ "$?" -eq "0" ] ; then
